//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<CStaticLive.cpp>
///	@path	~/src/scene/lives
///	@date	2008/03/18
///	@desc	Static model as a live object.

#include "config/config.h"

#include "scene/lives/CStaticLive.h"
#include "scene/ScenePresentation.h"

namespace xeres {

	IMPL_IOBJECT_CLASS_DYNAMIC( CStaticLive );

	// CStaticLive
	CStaticLive::CStaticLive( void )
	{

	}
	// ~CStaticLive
	CStaticLive::~CStaticLive( void )
	{

	}
	// Construct
	void CStaticLive::Construct( ResourceLoader * loader , RefWeak<IData> res )
	{

	}
	// AttachModel
	void CStaticLive::AttachModel( RefWeak<IModel> model )
	{
		m_model = model;
	}
	// EnterScene
	void CStaticLive::EnterScene( RefWeak<IScene> scene )
	{

	}
	// LeaveScene
	void CStaticLive::LeaveScene( RefWeak<IScene> scene )
	{

	}
	// Tick
	void CStaticLive::Tick( const Frame& frame )
	{

	}
	// Present
	void CStaticLive::Present( ScenePresentation& sp )
	{
		sp.AddModel( m_model );
	}
	
} // namespace xeres
